var navbar = document.querySelector('.navbar');
var search = document.querySelector('.search');
var searchInput = document.querySelector('.search-input');
var searchSpan = document.querySelector('.search span');
var exit = document.querySelector('.exit');
var flag = false;

search.onclick = function() {
	navbar.style.opacity = '0'
	searchInput.style.display = 'block';
	search.style.opacity = '0'
}

exit.onclick = function() {
	navbar.style.opacity = '1'
	searchInput.style.display = 'none';
	search.style.opacity = '1'
}
